package com.orchid.community.models.mapper;

import com.orchid.community.common.utils.CodeEnum;
import com.orchid.community.models.DTO.ChangeDTO;
import com.orchid.community.models.DTO.ChannelListRequestDTO;
import com.orchid.community.models.DTO.ChannelRequestDTO;
import com.orchid.community.models.entity.Channel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SceneMapper {
    Channel getChannelByChannelNo(String channelNo);

    int insertChannel(Channel newChannel);

    Channel getChannelById(Integer id);

    int updateChannel(Channel channel);

    List<ChannelRequestDTO> getChannelList(ChannelListRequestDTO.ChannelListParam param);

    List<String> getAllCityList();

    List<ChangeDTO> getAllChannel();
}
